from django.db.models import TextChoices


class BusinessType(TextChoices):
    LC = "LC", "临床"
    RY = "RY", "入院"
    JX = "JX", "经销"
    KY = "KY", "科研"

class Product(TextChoices):
    P1 = "P1", "产品1"
    P2 = "P2", "产品2"

class PaymentMethod(TextChoices):
    CASH = "C", "现金"
    UNIONPAY = "U", "转账"
    ALIPAY = "A", "支付宝"
    WXPAY = "W", "微信支付"

class OrderState(TextChoices):
    PENDING = "P", "等待处理"
    REJECTED = "R", "需要修改"
    ACCEPTED = "A", "审核通过"
    FINISHED = "F", "报告已传"

SAMPLE_TYPE=MY_CHOICES = (
    ('XY', '血液'),
    ('NJ', '脑脊液'),
    ('FP', '肺泡灌洗液'),
    ('TY', '唾液'),
    ('KQ', '口腔试纸'),
    ('OT', '其它'))
